<?php
Yii::app()->clientScript->registerCoreScript('jquery.ui');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/underscore.1.3.3.js');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/json2.js');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/backbone.0.9.2.js');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.wijmo-open.all.2.2.2.min.js');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.wijmo-complete.all.2.2.2.min.js');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.layout.1.3.0.min.js');
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/openlayers.2.12.js');
Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/reset.css');
Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/jquery.wijmo-complete.all.2.2.2.min.css');
Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/themes/aristo/jquery-wijmo.css');
Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/theme/default/style.css');
Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/app.css');
?>
<script src="http://maps.google.com/maps/api/js?v=3&amp;sensor=false"></script>
<?php
Yii::app()->getClientScript()->registerScript('axemodel', $this->renderPartial('scripts/models/axe', array(), true), 4);
Yii::app()->getClientScript()->registerScript('appview',  $this->renderPartial('scripts/views/app', array(), true), 4);
?>
<div id="map"></div>
<div id="map-toolbar">
   <input id="map-layers-selector" />
</div>
<?php
echo $this->renderPartial('pages/dialogs', array(), true);

?>